* {
  margin: 0;
  padding: 0;
  list-style: none;
}
a, a:hover, a:active, a:focus {
  text-decoration: none;
}
.mb30 {
  margin-bottom: 30px;
}
.h100p {
  height: 100%;
}
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vis-hd {
  visibility: hidden;
}
html, body {
  height: 100%;
  overflow-x: hidden;
  background-color: #f6f9fa;
}
.player-container {
  padding: 10px;
  box-sizing: border-box;
  position: absolute;
  top: 0; 
  bottom: 0; 
  left: 0;
  right: 0;
  min-height: 100%; 
}

.player-layout {
  overflow-x: hidden;
  display: flex;
  background-color: #353535;
  border-radius: 7px;
  min-height: 100%;
}
.player-layout.vertical {
  display: block;
}
.player-layout.vertical #my-player {
  height: 220px;
  padding-bottom: 56.25%;
}
.player-layout.vertical .player-toolbar-box {
  width: 100%;
  padding-left: 20px;
  margin-bottom: 30px;
}

.player-area {
  flex: 1;
  padding: 0 20px 20px;
  box-sizing: border-box;
}

#my-player {
  width: 100%;
  height: 100%;
  /*height: 0;
  padding-bottom: 56.25%;*/
  background: #0E1011;
  box-shadow: 0 8px 16px 0 rgba(14,16,17,.8);
  border-radius: 5px;
}

#my-player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 150px;
}

.video-js .vjs-big-play-button {
  left: calc(50% - 1.5em);
  top: calc(50% - 0.75em);
}

.player-toolbar-box {
  position: relative;
  left: 0;
  top: 0;
  width: 320px;
  padding-right: 20px;
  box-sizing: border-box;
  margin-right: 0;
}
.player-toolbar-box .toggle-btn .fa {
  position: relative;
  top: 1px;
}
.player-toolbar-box .toggle-btn .fa-chevron-circle-left {
  display: none;
}

.hidden_toolbar {
  margin-right: -320px
}
.hidden_toolbar .toggle-btn .fa-chevron-circle-right {
  display: none;
}
.hidden_toolbar .toggle-btn .fa-chevron-circle-left {
  display: block;
}

.player-video-message {
  box-sizing: border-box;
  height: 50px;
  background-color: #353535;
}

.player-video-message li {
  text-align: center;
  float: left;
}

.video-relatives-nav a {
  cursor: pointer;
}

.video-relatives-nav a i {
  margin-right: 5px;
}

.player-video-message .prev-chepter,
.player-video-message .next-chepter {
  width: 20%;
  cursor: pointer;
}

.player-video-message .course-title {
  width: 60%;
  cursor: pointer;
}
.player-video{
  width: 100%;
}
.player-video-wrap {
  position: relative;
  height: calc(100% - 50px);
  /*height: 220px;*/
}

.nav-container {
  box-sizing: border-box;
  height: 50px;
}

.toggle-btn {
  position: absolute;
  left: -20px;
  top: 50px;
  background: #bb7116;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  line-height: 20px;
  text-align: center;
}

.toggle-btn i {
  font-size: 16px;
  color: #fff;
}

.video-relatives-nav  {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}

.video-relatives-nav a {
  color: #fff;
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  display: inline-block;
}

.video-relatives-nav a.on,
.video-relatives-nav a:hover {
  background-color: #524d4d;
  box-shadow: 2px 2px 1px #312c2d inset;
  text-decoration: none;
}

.video-relatives-con {
  height: calc(100% - 70px);
  box-sizing: border-box;
  padding: 20px;
  border: 2px solid #524d4d;
  border-radius: 5px;
}

.chapter-mini-list {
  position: relative;
  margin-top: -20px;
  margin-bottom: 20px;
}
.chapter-mini-list .tit {
  height: 54px;
  line-height: 54px;
  font-size: 14px;
  color: #b5b9bc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chapter-mini-list dd {
  padding-left: 10px;
  height: 30px;
  line-height: 30px;
}
.chapter-mini-list dd a {
  position: relative;
  display: block;
  padding: 0 24px;
  font-size: 12px;
  color: #787d82;
}
.chapter-mini-list dd a .list-type {
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 16px;
}
.chapter-mini-list dd a:hover {
  color: #fff;
}
.chapter-mini-list dd a.on {
  color: #2eb71a;
}
.chapter-text {
  width: 100%;
  display: inline-block;
}
    
.editor {
  background-color: #fff;
  height: 200px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
}

.editor textarea, .editor .compiledMarkdown {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: top;
  box-sizing: border-box;
  padding: 0 20px;
}

.editor .editor-con {
  height: 170px;
}
.editor textarea {
  border: none;
  resize: none;
  outline: none;
  background-color: #f6f6f6;
  font-size: 14px;
  font-family: 'Monaco', courier, monospace;
  padding: 10px;
  height: 100%;
  box-sizing: border-box;
}

.editor .compiledMarkdown {
  display: none;
  padding: 10px;
}

code {
  color: #f66;
}

.editor-toolbar {
  background-color: #fff;
  width: 100%;
  height: 30px;
  border-bottom: 1px solid #ccc;
}

.editor-mode {
  height: 30px;
  margin-bottom: 0;
}

.editor-mode li {
  cursor: pointer;
  height: 29px;
  line-height: 29px;
  padding: 0 5px;
  color: #353535;
}

.editor-mode li:hover {
  color: #787d82;
}

.editor-mode li.on {
  background-color: #f6f6f6;
  color: #2eb71a;
}

.editor-mode li i {
  margin-right: 3px;
}

.relatives-box {
  height: 100%;
  display: none;
}

.relatives-box.on {
  display: block;
}

.control-bar {
  /*display: none;*/
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background-color: #070c11;
}

.video-control {
  float: left;
  line-height: 40px;
  height: 40px;
  color: #fff;
}
.video-play {
  width: 40px;
}
.play-control {
  position: relative;
  bottom: -12px;
  float: left;
  left: 12px;
  width: 18px;
  height: 18px;
}

.play-btn {
  position: relative;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
  color: inherit;
  text-align: inherit;
  font-family: inherit;
  border: none;
  outline: none;
  min-width: 18px;
}

.play-control>i {
  font-size: 16px;
  color: #fff;
  position: absolute;
  left: 1px;
  top: 1px;
  pointer-events: none;
  cursor: pointer;
}

.video-duration {
  width: 80px;
}

.fullscreen-control {
  position: absolute;
  width: 32px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  bottom: 0;
  right: 12px;
  font-size: 16px;
  color: #93999f;
  cursor: pointer;
}

.progress-control {
  top: -8px;
  left: 0;
  position: absolute;
  width: 100%;
  cursor: pointer;
  background-color: #2e2f3e;
  height: 8px;
}

.play-progress {
  width: 40%;
  position: absolute;
  height: 8px; 
  left: 0;
  background-color: #f01616;
}







